//-----------------------------------------------------------------------
// <copyright file="DoiTacBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace APPro.Entities
{
	[Serializable]
	public class DoiTacBase
	{
		
		#region Variable Declarations
		private int				maDoiTac = 0;
		private string				tenDoiTac = string.Empty;
		private string				noiDung = string.Empty;
		private string				chiTiet = string.Empty;
		private int?				danhMucDoiTac = null;
		#endregion
		
		#region Constructors
		public DoiTacBase() {}
		
		public DoiTacBase (
			int maDoiTac,
			string tenDoiTac,
			string noiDung,
			string chiTiet,
			int? danhMucDoiTac)
		
		{
			this.maDoiTac = maDoiTac;
			this.tenDoiTac = tenDoiTac;
			this.noiDung = noiDung;
			this.chiTiet = chiTiet;
			this.danhMucDoiTac = danhMucDoiTac;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int MaDoiTac
		{
			get { return maDoiTac; }
			set { maDoiTac = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string TenDoiTac
		{
			get { return tenDoiTac; }
			set { tenDoiTac = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string NoiDung
		{
			get { return noiDung; }
			set { noiDung = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string ChiTiet
		{
			get { return chiTiet; }
			set { chiTiet = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int? DanhMucDoiTac
		{
			get { return danhMucDoiTac; }
			set { danhMucDoiTac = value; }
		}
		
		#endregion
	}//End Class
	
	public enum DoiTacColumns
	{
		MaDoiTac,
		TenDoiTac,
		NoiDung,
		ChiTiet,
		DanhMucDoiTac
	}//End enum
}